package br.com.psu.protocom.service;

import java.util.List;

import br.com.psu.protocom.service.param.Param;

public class Action {

	private String code;
	private String description;
	private ActionType actionType;
	private List<Param> params;

	public Action() {

	}

	public Action(String code, ActionType actionType) {
		super();
		this.code = code;
		this.actionType = actionType;
	}

	public Action(String code, String description, ActionType actionType) {
		super();
		this.code = code;
		this.description = description;
		this.actionType = actionType;
	}

	public List<Param> getParams() {
		return params;
	}

	public void setParams(List<Param> params) {
		this.params = params;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public ActionType getActionType() {
		return actionType;
	}

	public void setActionType(ActionType actionType) {
		this.actionType = actionType;
	}

}